reverse

fun Pagination.reverse(datasetSize: Long): SimplePagination

Example:

  • |__f__l_______________________| will be transformed to |_______________________f__l__|

  • |__f__l_| will be transformed to |_f__l__|

Return

Reversed version of this Pagination


fun Pagination.reverse(objectsCount: Int): SimplePagination

Shortcut for reverse